module.exports = function() {
  return async (ctx, next) => {
    console.log(ctx.host)
    await next()
  }
}